package com.yyp.car.dao;


import java.util.List;

import org.springframework.stereotype.Repository;

import com.hdw.basic.dao.BaseDao;
import com.yyp.car.Idao.ICarTypeDao;
import com.yyp.car.model.CarType;

@Repository("carTypeDao")
public class CarTypeDao extends BaseDao<CarType> implements ICarTypeDao{

	@Override
	public List<CarType> listCarType() {
		String hql="from CarType order by id asc";
		return this.list(hql);
	}

}
